<?PHP
#	Ajax view table
require_once('./function.php');

if ($_GET[lid]) {
	$detail = unserialize($db->result_first("select `detail` from `list` where `lid` = '$_GET[lid]'"));
	extract($detail);
}
header("Content-type: text/html;charset=GBK");
include template($_GET['tablename'].'.htm');
?>